<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>[Generic Component Framework v3] GDriveLiteQml - Example application for GCF&#39;s GDriveLite</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<!--link href="tabs.css" rel="stylesheet" type="text/css"-->
</head><body>
 <div id="wrapper">
    <div id="logo_box">
        <a class="img_link" href="https://github.com/pnudupa/gcf" target="_blank" ><img style="float:left;margin-left:10px;margin-top:5px;margin-bottom:5px;"src="header_gcf_logo.jpg" alt="GCF LOGO"/></a>
        <a class="img_link" href="https://www.vcreatelogic.com/" target="_blank" ><img style="float:right;margin-right:10px; margin-top: 30px;" src="header_vcl_logo.jpg" alt="VCL LOGO"/></a>
        <div style="clear:both"></div>
    </div>
    <div class="nav">
        <ul>
            <li class="selectedpage">
                <a class="a-home" href="index.html" >
                    <span>Home</span>
                </a>
            </li>
            <li>
                <a class="a-classes " href="classes.html">
                    <span>All Classes</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_modules.html">
                    <span>Modules</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_guides_and_videos.html">
                    <span>Guides & Videos</span>
                </a>
            </li>
            <li>
                <a class="a-home " href="gcf_tools_and_inbuilt_components.html">
                    <span>Tools & Components</span>
                </a>
            </li>
        </ul>
    </div>
    <div id="main-content">
        <div class="inside">
        <div>
<!-- Generated by Doxygen 1.8.16 -->
</div><!-- top -->
<div class="PageDoc"><div class="header">
  <div class="headertitle">
<div class="title">GDriveLiteQml - Example application for GCF's GDriveLite </div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><p>The GDriveLiteQml example showcases the capacity of <a class="el" href="group__gcf__gdrivelite.html">GCF's GDriveLite component</a> when used within a QML (or QtQuick) application. The <a class="el" href="gcf_gdrivelitegui.html">GDriveLiteGui</a> example shows how the <a class="el" href="group__gcf__gdrivelite.html">GCF's GDriveLite component</a> component can be used in a GUI application.</p>
<p>This page explains how to run the example and use the different kinds of functionality offered by it. It does not explain the source code and implementation of the example program.</p>
<p>We encourage you to take a look the source code of the example program and get a sense of how the <a class="el" href="group__gcf__gdrivelite.html">API</a> is used in it. This will help you with using <a class="el" href="group__gcf__gdrivelite.html">API</a> in your programs as well.</p>
<h1><a class="anchor" id="gcf_gdrivelitegui_0"></a>
Launching GDriveLiteGui</h1>
<p>To launch the program you will need to pass the <code>&ndash;clientID</code> and <code>&ndash;clientSecret</code> commandline parameters. The values passed to these parameters can be obtained from your <a class="el" href="group__gcf__gdrivelite.html#gcf_gdrivelite_0">Google API Console</a>.</p>
<p>Start terminal (or command-prompt) and launch the GDriveLiteQml example from the command-line as follows</p>
<p> 
<pre style="background: #000000">
<font color="white">$ ./GDriveLiteQml --clientID:78399023134.apps.googleusercontent.com --clientSecret:QiA5B6kXo0gNWcn-6UKpggsJ</font>
</pre>
</p>
<p>When the application is launched, you should see a login dialog as shown in the picture below.</p>
<div class="image">
<img src="gdriveliteqml.png" alt=""/>
</div>
<p>In this page, you can enter your login credentials. [Note: You can enter login credentials of any Google Account, not just the account using which you registered the application in <a class="el" href="group__gcf__gdrivelite.html#gcf_gdrivelite_0">Google API Console</a>.] After login in, you will need to accept authorization for the GDriveLiteGui application. Once that is done, you will see a main-window as follows</p>
<div class="image">
<img src="gdriveliteqml1.png" alt=""/>
</div>
<p>On the left hand side you will see a browsable list of folders from your Google Drive account. You can double click on any folder to move into the folder. You can single click on any file or folder to expand the item and take note of certain properties in the item.</p>
<p>On the right hand side you will notice two panels. The panel on the top can be used to </p><ul>
<li>Change name of the item. You can click on the text-edit-box next to the "Name" label. Enter a new name and click on the tick mark that appears next to the text-box to apply the changed name. </li>
<li>Change the description of that item. </li>
<li>Download, Move, Share, Trash and Refresh the item.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>As of writing the Refresh button doesnt work. We are working on fixing the underlying issue.</dd></dl>
<p>The panel below shows a list of all key=value attributes associated with the selected item.</p>
<p>Go ahead, launch the application and explore it. Feature and function wise this example is same as GDriveLiteGui, only the presentation is different. </p>
</div></div><!-- contents -->
</div><!-- PageDoc -->
</div>
</div>
</div>
<div class="footer_content">
<table width="100%" class="footer">
<tr>
<td align="left" width="50%">Copyright &copy; 2013-2019,
 <a class="el" href="http://www.vcreatelogic.com" target="_black">VCreate Logic Private Limited</a></td>
<td align="right" width="50%"><a class="el" href="http://www.vcreatelogic.com/products/gcf" target="_black">GCF - Generic Component Framework</a></td>
</tr>
</table>
</div>
</div>
</body>
</html>
